<div id="weibo_top_public">
    <div class="WB_global_nav WB_global_nav_v2 " id= "jiantan"  >
        <div class="gn_header clearfix">
            <div class="gn_logo"  >
                <a href="http://" class="box" title="" target="_top">
                    <span class="logo" style="margin-left:60px;">
                        <img src="{{url('img/home/login/big-logo.png')}}" alt="" style="width:100px;height:30px;margin-top: 8px;">
                    </span>
                </a>
            </div>
            <!-- 搜索框 -->
            <div class=" gn_search_v2">
                <span class=" placeholder">{{session('userid')}}</span>
                <input type="text"  class="W_input" >
                <!-- 搜索a链接 -->
                <a href="" title="搜索"  class="W_ficon ficon_search S_ficon" target="_top"><span class="glyphicon glyphicon-search"></span></a>
                <!--搜索热词下拉-->
                {{--<div class="gn_topmenulist_search"  style="display:block;">--}}
                    {{--<div class="gn_topmenulist">--}}
                        {{--<div node-type="basic"></div>--}}
                        {{--<div node-type="plus"></div>--}}
                    {{--</div>--}}
                {{--</div>--}}
                <!--/搜索热词下拉-->
            </div>
            <!-- 导航右边栏-->
            <div class="gn_position">
                <!-- 右边首页 -- 视频-->
                <div class="gn_nav">
                    <!-- 具体分类-->
                    <ul class="gn_nav_list">
                        <li><a href="{{url('succeslog')}}" class="home S_txt1"  target="_top"><em class="W_ficon ficon_home S_ficon" style="font-size:14px"><span class="glyphicon glyphicon-home"></span></em><em class="S_txt1">首页</em></a></li>
                        <li><a href="#" class="S_txt1"  target="_top"><em class="W_ficon ficon_found S_ficon" style="font-size:14px"><span class="glyphicon glyphicon-facetime-video"></span></em><em class="S_txt1">视频</em></a></li>
                        <li><a href="#" class="S_txt1"  target="_top"><em class="W_ficon ficon_found S_ficon" style="font-size:14px"><span class="glyphicon glyphicon-eye-open"></span></em><em class="S_txt1">发现</em></a></li>
                        <li><a href="#"  class="S_txt1" target="_top"><em class="W_ficon ficon_game S_ficon" style="font-size:14px"><span class="glyphicon glyphicon-equalizer"></span></em><em class="S_txt1">游戏</em></a></li>
                        @if(session('userid')!=null)
                                <li><a href="{{url('info')}}"  class="gn_name" ><em class="W_ficon ficon_user S_ficon"style="font-size:14px" ><span class="glyphicon glyphicon-user" ></span></em> <em class="S_txt1" style="cursor: pointer"> {{session('home.name')}} </em></a></li>
                        @endif
                    </ul>
                </div>
                <!-- 右边首页 尾部-->
                <!-- 右边登陆注册头-->

                @if(session('userid')!=null)
                    <div class="gn_set S_line1">
                        <div class="gn_set_list" id="messusr">
                            <a href=""  class=" " >
                                <em class="W_ficon ficon_mail S_ficon" style="font-size:14px">
                                    <span class="glyphicon glyphicon-envelope"></span>
                                </em>
                                <em class="W_new_count">31</em>
                            </a>
                            <div class="gn_topmenulist gn_topmenulist_notice " id="section-usr" style="display: none;"><!--tip start-->
                                <ul>
                                    <li>
                                        <a target="_top" action-type="bp-link" bpfilter="message" href="http://">@我的
                                        </a>
                                    </li>
                                    <li>
                                        <a target="_top"  action-type="bp-link" bpfilter="message" href="http://">评论
                                        </a>
                                    </li>
                                    <li>
                                        <a target="_top"  href="http://">赞</a></li><li class="line S_line2">

                                    </li>
                                    <li>
                                        <a target="_top"  href="http://">31</em>私信
                                        </a>
                                    </li>
                                    <li><a target="_top" href="http://">未关注人私信</a>
                                    </li>
                                    <li><a target="_top"  href="http://">群通知</a>
                                    </li>
                                    <li class="line S_line1"></li>
                                    <li class="gn_func">
                                        <a target="_top"  href="http://">消息设置</a>
                                    </li>
                                </ul>
                                <div class="W_layer_arrow">
                                    <span class="W_arrow_bor W_arrow_bor_t"><i class="S_line3"></i><em class="S_bg2_br"></em></span></div><!--tip end--></div>
                            <div class="gn_topmenulist_tips" style="display:none" node-type="tips"></div>
                        </div>
                        <!-- 设置-->
                        <div class="gn_set_list" id="cxmess">
                            <a  href="javascript:void(0);">
                                <em class="W_ficon ficon_set S_ficon"   style="font-size:14px" >
                                    <span class="glyphicon glyphicon-cog">

                                    </span>
                                </em>
                            </a>
                            <div class="gn_topmenulist gn_topmenulist_set" id="messioi" style="display:none"><!--data start-->
                                <ul>
                                    <li>
                                        <a  href="http://" >帐号设置
                                        </a>
                                    </li>
                                    {{--<li><a  target="_top" href="http:/" >开通会员--}}
                                        {{--</a>--}}
                                    {{--</li>--}}
                                    <li><a id="kai" onclick="kai({{session('userid')}})">开通会员
                                        </a>
                                    </li>
                                    <li><a  target="_top" href="{{url('dav')}}">V认证</a>
                                    </li>
                                    <li>
                                        <a dot="" target="_top" href="http://" >帐号安全
                                        </a>
                                    </li>
                                    <li><a  target="_top" href="" >隐私设置
                                        </a>
                                    </li>
                                    <li>
                                        <a target="_top" href="http://">屏蔽设置
                                        </a>
                                    </li>
                                    <li>
                                        <a href="http://">消息设置
                                        </a>
                                    </li>
                                    <li>
                                        <a href="http://" >帮助中心
                                        </a>
                                    </li>
                                    <li class="line S_line1"></li>
                                    <li class="gn_func">
                                        <a target="_top"  href="{{url('/exitcontrol')}}">退出
                                        </a>
                                    </li>
                                </ul>
                                <div class="W_layer_arrow">
                                    <span class="W_arrow_bor W_arrow_bor_t">
                                        <i class="S_line3"></i>
                                        <em class="S_bg2_br">

                                        </em>
                                    </span>
                                </div>
                            </div>
                        </div>

                        {{--点击开通会员--}}
                        <script>


                            function kai(a){
                                //获取当前用户id
                                var data = a;
                                $.ajax({
                                type:'get',
                                url:"{{url('adm/vip/login_vip')}}/" + data,
                                success:function(data){

                                        if (data == 3){

                                            alert('你已经是会员了');

                                        }else{


                                            if (data == 1){

                                                alert('恭喜开通成功')
                                            }
                                            if (data == 2){

                                                alert('开通失败,请稍后再试')
                                            }

                                        }

//
                                },
                                error:function(){

                                 console.log('错误');
                                }

                                })
                            }


                        </script>




                        <div class="gn_set_list"><a href="javascript:void(0);" node-type="publish" action-type="widget_publish" action-data="title=有什么新鲜事想告诉大家?" suda-data="key=quick_pubblog&amp;value=quickpub_entrance"><em class="W_ficon ficon_send S_ficon" title="试一下键盘N键？" style="font-size:14px"><span class="glyphicon glyphicon-edit"></span></em></a>
                        </div>
                        <!--下拉层-->

                        <!--/下拉层-->
                    </div>
                @else
                    <div class="gn_login">
                        <ul class="gn_login_list">
                            <li><a href="http://www.803619.xin/home/login"class="S_txt1" target="_top">注册</a>
                            </li>
                            <li class="W_vline S_line1"></li>
                            <li><a  href="http://www.803619.xin/home/login" class="S_txt1" target="_top">登录</a></li>
                        </ul>
                    </div>
            @endif
            <!-- 右边登陆注册尾部 -->
            </div>
        </div>
    </div>
</div>